#include "mystdio.h"
#include "mystring.h"
#include <string.h>
int main()
{
    char str[] = "log.txt";
    myFILE* fp = myfopen(str,(char*)"a");
    if(fp==NULL)
        return 1;
    char s[] = "hello linux\n";
    myfwrite(s,strlen(s),fp);
    myfclose(fp);
    printf("%s",s);
    printf("mystrlen(s)m:%d\n",mystrlen(s));
    return 0;
}
